<?php


namespace app\admin\controller;

/**
 * 已认证学分控制器
 */
class CreditItem extends AdminBase
{
    
   
     /**
     * 已认证列表
     */
    public function certifiedList()
    {
        
        $this->assign('list', $this->logicCreditItem->getCreditList());
        
        return $this->fetch('credititem_list');
    }
    
    
    
    /**
     *计算已认证学分
     */
    public function creditTranscript($id = 0)
    {
        
        $this->jump($this->logicCredit->creditDel(['id' => $id]));
    }

     /**
     * 已认证列表
     */
    public function certifieList()
    {
        
        $this->assign('list', $this->logicCreditItem->getCreditList());
        
        return $this->fetch('credititem_list');
    }
}
